﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace SUCE.SERVICE
{
    public partial class Service : Form
    {
        private bool sincronizando = false;

        public Service()
        {
            InitializeComponent();
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            if (!sincronizando)
            {
                sincronizando = true;
                this.Text = "Gestor de SUCEs - Sincronizando";
                Program.Sincronizar();
                sincronizando = false;
                this.Text = "Gestor de SUCEs";
            }
        }
    }
}
